home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: jlilley@ix.netcom.com (John Lilley)
- Newsgroups: comp.lang.c++
- Subject: Re: For Experts: How to load a DLL dynamically ?
- Date: 16 Mar 1996 20:25:39 GMT
- Organization: Netcom
- Message-ID: <4if843$iq@dfw-ixnews4.ix.netcom.com>
- References: <4ibr0a$8f9@nms.telepost.no> <4ieqki$dqv@cloner3.netcom.com> <4iet7v$jdc@dfw-ixnews2.ix.netcom.com>
- NNTP-Posting-Host: den-co11-10.ix.netcom.com
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-NETCOM-Date: Sat Mar 16 2:25:39 PM CST 1996
- X-Newsreader: WinVN 0.99.7
-
- In article <4iet7v$jdc@dfw-ixnews2.ix.netcom.com>, jlilley@ix.netcom.com
- says...
- >
- >OOPS! Forgot something...
-
- Really, I'll get this right someday :-)
-
- I meant to say
-
- EXPORT DLLfoo* DLLfoo::Create(/*args*/) { return new DLLfoo(/*args*/); }
- EXPORT void DLLfoo::Destroy(DLLfoo*foo) { delete foo; }
-
- instead of
-
- >EXPORT void DLLfoo::method1(/*args*/) { ... }
- >EXPORT int DLLfoo::method2(/*args*/) { ... }
-
- john lilley
-
-